package com.vhly.ddxdecompiler.dexreader.file.dalv.code.reader;

import com.vhly.ddxdecompiler.dexreader.file.dalv.code.DalvInsn;
import com.vhly.ddxdecompiler.dexreader.io.DexInputStream;

import java.io.IOException;


public final class Form32x extends InsnReader {

    public static final InsnReader THE_ONE = new Form32x();

    private Form32x() {
    }

    public void prepair(DalvInsn dalvInsn, int reg) {
    }

    public int read(DalvInsn insn, DexInputStream din) throws IOException {
        short c1 = din.readShort(); // reg1
        short c2 = din.readShort(); // reg2
        insn.addRegister(c1);
        insn.addRegister(c2);
        return 2;
    }
}